package commands;

import server.Actions;

public class EditRecord implements Command {
	private Actions action;
	private String lname;
	private String id;
	private String status;
	private String officerId; 
	
	public EditRecord(Actions action, String lname, String id, String status, String officerId) {
		super();
		this.action = action;
		this.lname = lname;
		this.id = id;
		this.status = status;
		this.officerId = officerId;
		
	}
	@Override
	public String execute() {
		return action.editRecord(lname, id, status, officerId);
	}

}
